## API Report File for "@backstage/plugin-azure-devops-common"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts
// @public (undocumented)
export const AZURE_DEVOPS_BUILD_DEFINITION_ANNOTATION =
  'dev.azure.com/build-definition';

// @public (undocumented)
export const AZURE_DEVOPS_DEFAULT_TOP: number;

// @public (undocumented)
export const AZURE_DEVOPS_HOST_ORG_ANNOTATION = 'dev.azure.com/host-org';

// @public (undocumented)
export const AZURE_DEVOPS_PROJECT_ANNOTATION = 'dev.azure.com/project';

// @public (undocumented)
export const AZURE_DEVOPS_README_ANNOTATION = 'dev.azure.com/readme-path';

// @public (undocumented)
export const AZURE_DEVOPS_REPO_ANNOTATION = 'dev.azure.com/project-repo';

// @public (undocumented)
export enum BuildResult {
  Canceled = 32,
  Failed = 8,
  None = 0,
  PartiallySucceeded = 4,
  Succeeded = 2,
}

// @public (undocumented)
export type BuildRun = {
  id?: number;
  title: string;
  link?: string;
  status?: BuildStatus;
  result?: BuildResult;
  queueTime?: string;
  startTime?: string;
  finishTime?: string;
  source: string;
  uniqueName?: string;
};

// @public (undocumented)
export type BuildRunOptions = {
  top?: number;
};

// @public (undocumented)
export enum BuildStatus {
  All = 47,
  Cancelling = 4,
  Completed = 2,
  InProgress = 1,
  None = 0,
  NotStarted = 32,
  Postponed = 8,
}

// @public (undocumented)
export interface CreatedBy {
  // (undocumented)
  displayName?: string;
  // (undocumented)
  id?: string;
  // (undocumented)
  imageUrl?: string;
  // (undocumented)
  teamIds?: string[];
  // (undocumented)
  teamNames?: string[];
  // (undocumented)
  uniqueName?: string;
}

// @public (undocumented)
export interface DashboardPullRequest {
  // (undocumented)
  createdBy?: CreatedBy;
  // (undocumented)
  creationDate?: string;
  // (undocumented)
  description?: string;
  // (undocumented)
  hasAutoComplete: boolean;
  // (undocumented)
  isDraft?: boolean;
  // (undocumented)
  link?: string;
  // (undocumented)
  policies?: Policy[];
  // (undocumented)
  pullRequestId?: number;
  // (undocumented)
  repository?: Repository;
  // (undocumented)
  reviewers?: Reviewer[];
  // (undocumented)
  status?: PullRequestStatus;
  // (undocumented)
  title?: string;
}

// @public (undocumented)
export type GitTag = {
  objectId?: string;
  peeledObjectId?: string;
  name?: string;
  createdBy?: string;
  link: string;
  commitLink: string;
};

// @public (undocumented)
export interface Policy {
  // (undocumented)
  id?: number;
  // (undocumented)
  link?: string;
  // (undocumented)
  status?: PolicyEvaluationStatus;
  // (undocumented)
  text?: string;
  // (undocumented)
  type: PolicyType;
}

// @public (undocumented)
export enum PolicyEvaluationStatus {
  Approved = 2,
  Broken = 5,
  NotApplicable = 4,
  Queued = 0,
  Rejected = 3,
  Running = 1,
}

// @public (undocumented)
export enum PolicyType {
  // (undocumented)
  Build = 'Build',
  // (undocumented)
  Comments = 'Comments',
  // (undocumented)
  MergeStrategy = 'MergeStrategy',
  // (undocumented)
  MinimumReviewers = 'MinimumReviewers',
  // (undocumented)
  RequiredReviewers = 'RequiredReviewers',
  // (undocumented)
  Status = 'Status',
}

// @public (undocumented)
export enum PolicyTypeId {
  Build = '0609b952-1397-4640-95ec-e00a01b2c241',
  Comments = 'c6a1889d-b943-4856-b76f-9e46bb6b0df2',
  MergeStrategy = 'fa4e907d-c16b-4a4c-9dfa-4916e5d171ab',
  MinimumReviewers = 'fa4e907d-c16b-4a4c-9dfa-4906e5d171dd',
  RequiredReviewers = 'fd2167ab-b0be-447a-8ec8-39368250530e',
  Status = 'cbdc66da-9728-4af8-aada-9a5a32e4a226',
}

// @public (undocumented)
export type Project = {
  id?: string;
  name?: string;
  description?: string;
};

// @public (undocumented)
export type PullRequest = {
  pullRequestId?: number;
  repoName?: string;
  title?: string;
  uniqueName?: string;
  createdBy?: string;
  creationDate?: string;
  sourceRefName?: string;
  targetRefName?: string;
  status?: PullRequestStatus;
  isDraft?: boolean;
  link: string;
};

// @public (undocumented)
export type PullRequestOptions = {
  top: number;
  status: PullRequestStatus;
};

// @public (undocumented)
export enum PullRequestStatus {
  Abandoned = 2,
  Active = 1,
  All = 4,
  Completed = 3,
  NotSet = 0,
}

// @public (undocumented)
export enum PullRequestVoteStatus {
  // (undocumented)
  Approved = 10,
  // (undocumented)
  ApprovedWithSuggestions = 5,
  // (undocumented)
  NoVote = 0,
  // (undocumented)
  Rejected = -10,
  // (undocumented)
  WaitingForAuthor = -5,
}

// @public (undocumented)
export interface Readme {
  // (undocumented)
  content: string;
  // (undocumented)
  url: string;
}

// @public (undocumented)
export interface ReadmeConfig {
  // (undocumented)
  host?: string;
  // (undocumented)
  org?: string;
  // (undocumented)
  path?: string;
  // (undocumented)
  project: string;
  // (undocumented)
  repo: string;
}

// @public (undocumented)
export type RepoBuild = {
  id?: number;
  title: string;
  link?: string;
  status?: BuildStatus;
  result?: BuildResult;
  queueTime?: string;
  startTime?: string;
  finishTime?: string;
  source: string;
  uniqueName?: string;
};

// @public (undocumented)
export type RepoBuildOptions = {
  top?: number;
};

// @public (undocumented)
export interface Repository {
  // (undocumented)
  id?: string;
  // (undocumented)
  name?: string;
  // (undocumented)
  url?: string;
}

// @public (undocumented)
export interface Reviewer {
  // (undocumented)
  displayName?: string;
  // (undocumented)
  id?: string;
  // (undocumented)
  imageUrl?: string;
  // (undocumented)
  isContainer?: boolean;
  // (undocumented)
  isRequired?: boolean;
  // (undocumented)
  uniqueName?: string;
  // (undocumented)
  voteStatus: PullRequestVoteStatus;
}

// @public (undocumented)
export interface Team {
  // (undocumented)
  id?: string;
  // (undocumented)
  members?: string[];
  // (undocumented)
  name?: string;
  // (undocumented)
  projectId?: string;
  // (undocumented)
  projectName?: string;
}

// @public (undocumented)
export interface TeamMember {
  // (undocumented)
  displayName?: string;
  // (undocumented)
  id?: string;
  // (undocumented)
  memberOf?: string[];
  // (undocumented)
  uniqueName?: string;
}

// (No @packageDocumentation comment for this package)
```
